<?php // no direct access
defined('_JEXEC') or die('Restricted access'); 


$menu = "<p>Selezionare il menu desiderato</p>";

$link =  "<p><a href='".JRoute::_('index.php?option=com_fatturetoo') . "'>Home</a></p>";

$link .=  "<p><a href='".JRoute::_('index.php?option=com_fatturetoo&task=societa') . "'>Societa'</a></p>";

echo $menu.$link;


/*
$fo = '<form name="%s" method="post" action="index.php">';
$la = '<label for="%s">%s</label>';
$in = '<input type="%s" name="%s" id="%s" size="%s" />';
$ta = '<textarea name="%s" id="%s" rows="%s" cols="%s"></textarea>';
$su = '<input type="%s" name="%s" value="%s" />';

$html = sprintf($fo, $this->form['name']);

foreach($this->form['fields'] as $field) {
	
	if(!isset($field['type'])) 
		$field['type'] = 'text';
	$type = strtolower($field['type']);
	
	if($field['type'] == 'text') {
		if(!isset($field['size'])) 
			$field['size'] = 25;
	}
	if($field['type'] == 'textarea') {
		if(!isset($field['cols'])) 
			$field['cols'] = 25;
		if(!isset($field['rows'])) 
			$field['rows'] = 15;
	}
	
	if(isset($field['label']))
		$html .= sprintf($la, $field['id'], $field['label']) . '<br />';
	
	switch($type) {
		case 'text':
			$html .= sprintf($in, $type, $field['name'], $field['id'], $field['size']) . '<br />';
			break;
		
		case 'textarea':
			$html .= sprintf($ta, $field['name'], $field['id'], $field['rows'], $field['cols']) . '<br />';
			break;
			
		case 'submit':
			$html .= sprintf($su, $type, $field['name'], $field['name']);
			break;
			
		case 'hidden':
			$html .= sprintf($su, $type, $field['name'], $field['value']);
			break;
	}
}	
$html .= '</form>';
echo $html;
*/
?>